package com.tyk.bookstore.front.payment.model.enume;

import com.fasterxml.jackson.annotation.JsonValue;
import com.tyk.bookstore.front.common.core.model.enume.BaseEnum;

/**
 * @author tyk
 * @description ShopStatementType
 */
public enum ShopStatementType implements BaseEnum {

    PRODUCT_SALE(0);

    @JsonValue
    private final Integer code;

    ShopStatementType(Integer code) {
        this.code = code;
    }

    @Override
    public Integer value() {
        return code;
    }
}
